package com.ericom.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ericom.dao.VariationValueDao;
import com.ericom.model.VariationValue;
import com.ericom.service.VariationValueManager;

@Service("variationValueManager")
public class VariationValueManagerImpl extends
		GenericManagerImpl<VariationValue, Long> implements
		VariationValueManager {

	private VariationValueDao variationValueDao;

	@Autowired
	public VariationValueManagerImpl(VariationValueDao variationValueDao) {
		super(variationValueDao);
		this.variationValueDao = variationValueDao;
	}

	@Override
	public List<VariationValue> findByVariatinType(Long vtid) {

		return variationValueDao.findByVariatinType(vtid);
	}

}
